package com.irdstudio.efp.esb.api.rest.yed.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class ReqLoanPerformanceBean implements Serializable {

    //产品代码
    @JSONField(name="PdCd")
    @Length(max = 11,groups= {GroupeInterface.yed.class})
    @NotNull(groups= {GroupeInterface.yed.class})
    @NotEmpty(groups= {GroupeInterface.yed.class})
    private String PdCd;
    //证件类型
    @JSONField(name="IdentTp")
    @Length(max = 5,groups= {GroupeInterface.yed.class})
    @NotNull(groups= {GroupeInterface.yed.class})
    @NotEmpty(groups= {GroupeInterface.yed.class})
    private String IdentTp;
    //证件号码
    @JSONField(name="IdentNo")
    @Length(max = 80,groups= {GroupeInterface.yed.class})
    @NotNull(groups= {GroupeInterface.yed.class})
    @NotEmpty(groups= {GroupeInterface.yed.class})
    private String IdentNo;
    //预留字段
    @JSONField(name="RsrvdFld")
    @Length(max = 80,groups= {GroupeInterface.yed.class})
    private String RsrvdFld;
    //预留字段1
    @JSONField(name="RsrvdFld1")
    @Length(max = 80,groups= {GroupeInterface.yed.class})
    private String RsrvdFld1;
    //预留字段2
    @JSONField(name="RsrvdFld2")
    @Length(max = 80,groups= {GroupeInterface.yed.class})
    private String RsrvdFld2;
    //预留字段3
    @JSONField(name="RsrvdFld3")
    @Length(max = 80,groups= {GroupeInterface.yed.class})
    private String RsrvdFld3;

    public String getPdCd() {
        return PdCd;
    }

    public void setPdCd(String pdCd) {
        PdCd = pdCd;
    }

    public String getIdentTp() {
        return IdentTp;
    }

    public void setIdentTp(String identTp) {
        IdentTp = identTp;
    }

    public String getIdentNo() {
        return IdentNo;
    }

    public void setIdentNo(String identNo) {
        IdentNo = identNo;
    }

    public String getRsrvdFld() {
        return RsrvdFld;
    }

    public void setRsrvdFld(String rsrvdFld) {
        RsrvdFld = rsrvdFld;
    }

    public String getRsrvdFld1() {
        return RsrvdFld1;
    }

    public void setRsrvdFld1(String rsrvdFld1) {
        RsrvdFld1 = rsrvdFld1;
    }

    public String getRsrvdFld2() {
        return RsrvdFld2;
    }

    public void setRsrvdFld2(String rsrvdFld2) {
        RsrvdFld2 = rsrvdFld2;
    }

    public String getRsrvdFld3() {
        return RsrvdFld3;
    }

    public void setRsrvdFld3(String rsrvdFld3) {
        RsrvdFld3 = rsrvdFld3;
    }
}
